package com.lby.controller;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.lby.model.ScoreDimensionConfig;
import com.lby.service.LoadingCacheService;

@Controller
@ResponseBody
@RequestMapping("/test")
public class TestController {

	@Autowired
	private LoadingCacheService LoadingCacheService;
	
    @RequestMapping("/configs")
    public List<ScoreDimensionConfig> drive() {
    	return LoadingCacheService.getConfigList();
    }

}
